Shading and Dividers PropertiesAlternate Column Shading

Description

Checking this box creates columns with alternating colors in the Grid layout. Checking the Alternate Column Shading property reveals two more properties, Even column band size and Odd column band size.

The 'even' and 'odd' are supposed to refer to the color of a given band. Due to a legacy bug, however, the Even and Odd colors on the Alternate Column Shading property are actually reversed, i.e the even band is actually an odd number. The number after these two properties, 1 by default, indicates how many grid columns that color band encompasses.

Alternate Column Shading properties
Alternate Column Shading properties
Even column band size 1, Odd column band size 1
Even column band size 1, Odd column band size 1

Specifying Colors

The colors used when alternating column colors are defined in the Web Theme assigned to the Grid component. The Data alt class name property in the Grid's web theme configuration defines the class name(s) applied to the alternate columns. Even columns in the Grid use the default background color. Odd columns use the Data alt class name.

See Alternate Row Shading for more information on how to customize the alternate colors used in the Grid.

Both the alternate rows and alternate columns use the same class name in the web theme, Data alt class name.